from django.db import models

# Create your models here.

# models.EmailField与models.CharField的区别，存储上没有区别都是字符，页面展示的时候会有区别


class UserInfo(models.Model):
    username = models.CharField(verbose_name='用户名', max_length=32)
    email = models.EmailField(verbose_name='邮箱', max_length=32)
    mobile_phone = models.CharField(verbose_name='手机号', max_length=32)
    password = models.CharField(verbose_name='密码', max_length=32)
